import { v4 as uuidv4 } from 'uuid';

export function getCartList(){
    let cartList = localStorage.getItem("cartList")
    if(cartList){
            return cartList
    }else{
        let newCartList = uuidv4()
        localStorage.setItem("cartList",newCartList)
        return newCartList
    }
}